package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.SysWechatDao;
import com.sykj.manage.service.SysWechatService;
import com.sykj.manage.model.SysWechat;

@Service
public class SysWechatServiceImpl implements SysWechatService{
	
	@Autowired
	SysWechatDao sysWechatDao;

	@Override
	public List<SysWechat> findWechat(SysWechat sysWechat) {
		// TODO Auto-generated method stub
		return sysWechatDao.findWechat(sysWechat);
	}

	@Override
	public int delWechat(Object[] menu_id) {
		// TODO Auto-generated method stub
		return sysWechatDao.delWechat(menu_id);
	}

	@Override
	public int addWechat(SysWechat sysWechat) {
		// TODO Auto-generated method stub
		return sysWechatDao.addWechat(sysWechat);
	}

	@Override
	public SysWechat findWechatById(String menu_id) {
		// TODO Auto-generated method stub
		return sysWechatDao.findWechatById(menu_id);
	}

	@Override
	public int updWechat(SysWechat sysWechat) {
		// TODO Auto-generated method stub
		return sysWechatDao.updWechat(sysWechat);
	}

}
